/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="AGENDAQUIMIOTERAPIA")
public class AgendaQuimioterapiaProteu implements Serializable{

    @Id
    @Column(name="AGQ_IN_CODIGO")
    private Integer agqInCodigo;
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="AGQ_CH_FLAG")
    private String agqChFlag;
    @Column(name="PAC_ST_CODIGO")
    private String pacStCodigo;
    @Column(name="AGQ_ST_HORA_APLICACAO")
    private String agqStHoraAplicacao;
    @Column(name="AGQ_DT_APLICACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date agqDtAplicacao;
    @Column(name="AGQ_ST_USUARIO")
    private String agqStUsuario;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="PAC_ST_FONE_DDD")
    private String pacStFoneDDD;
    @Column(name="PAC_ST_FONE")
    private String pacStFone;
    @Column(name="PAC_ST_FONE1_DDD")
    private String pacStFone1DDD;
    @Column(name="PAC_ST_FONE1")
    private String pacStFone1;
    @Column(name="PAC_ST_FONE_CONTATO")
    private String pacStFoneContato;
    @Column(name="PAC_ST_CEL_DDD")
    private String pacStCelDDD;
    @Column(name="PAC_ST_CEL")
    private String pacStCel;
    @Column(name="PAC_ST_CEL1_DDD")
    private String pacStCel1DDD;
    @Column(name="PAC_ST_CEL1")
    private String pacStCel1;
    @Column(name="PAC_ST_CEL_CONTATO")
    private String pacStCelContato;
    @Column(name="PAC_DT_NASCIMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date pacDtNascimento;
    @Column(name="AGQ_CH_PRIM_VEZ")
    private String agqChPrimVez;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="PROC_ST_TEMPO_PREVISTO")
    private String procStTempoPrevisto;
    @Column(name="PROC_ST_TIPO_SERVICO")
    private String procStTipoServico;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="EXA_ST_CODIGO")
    private String exaStCodigo;
    @Column(name="AGQ_BL_OBS_GERAIS")
    private String agqBlObsGerais;//blob
    @Column(name="AGQ_BL_OBS_PACIENTE")
    private String agqBlObsPaciente;//blob
    @Column(name="AGQ_BL_OBS_CONVENIOS")
    private String agqBlObsConvenios;//blob
    @Column(name="AGQ_BL_OBS_PLANOS")
    private String agqBlObsPlanos;//blob
    @Column(name="UNI_IN_CODIGO")
    private Integer uniInCodigo;
    @Column(name="ESC_ST_CODIGO")
    private String escStCodigo;
    @Column(name="AGQ_IN_SEQUENCIA")
    private Integer agqInSequencia;


    public String getAgqBlObsConvenios() {
        return agqBlObsConvenios;
    }

    public void setAgqBlObsConvenios(String agqBlObsConvenios) {
        this.agqBlObsConvenios = agqBlObsConvenios;
    }

    public String getAgqBlObsGerais() {
        return agqBlObsGerais;
    }

    public void setAgqBlObsGerais(String agqBlObsGerais) {
        this.agqBlObsGerais = agqBlObsGerais;
    }

    public String getAgqBlObsPaciente() {
        return agqBlObsPaciente;
    }

    public void setAgqBlObsPaciente(String agqBlObsPaciente) {
        this.agqBlObsPaciente = agqBlObsPaciente;
    }

    public String getAgqBlObsPlanos() {
        return agqBlObsPlanos;
    }

    public void setAgqBlObsPlanos(String agqBlObsPlanos) {
        this.agqBlObsPlanos = agqBlObsPlanos;
    }

    public String getAgqChFlag() {
        return agqChFlag;
    }

    public void setAgqChFlag(String agqChFlag) {
        this.agqChFlag = agqChFlag;
    }

    public String getAgqChPrimVez() {
        return agqChPrimVez;
    }

    public void setAgqChPrimVez(String agqChPrimVez) {
        this.agqChPrimVez = agqChPrimVez;
    }

    public Date getAgqDtAplicacao() {
        return agqDtAplicacao;
    }

    public void setAgqDtAplicacao(Date agqDtAplicacao) {
        this.agqDtAplicacao = agqDtAplicacao;
    }

    public Integer getAgqInCodigo() {
        return agqInCodigo;
    }

    public void setAgqInCodigo(Integer agqInCodigo) {
        this.agqInCodigo = agqInCodigo;
    }

    public Integer getAgqInSequencia() {
        return agqInSequencia;
    }

    public void setAgqInSequencia(Integer agqInSequencia) {
        this.agqInSequencia = agqInSequencia;
    }

    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getAgqStHoraAplicacao() {
        return agqStHoraAplicacao;
    }

    public void setAgqStHoraAplicacao(String agqStHoraAplicacao) {
        this.agqStHoraAplicacao = agqStHoraAplicacao;
    }

    public String getAgqStUsuario() {
        return agqStUsuario;
    }

    public void setAgqStUsuario(String agqStUsuario) {
        this.agqStUsuario = agqStUsuario;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getEscStCodigo() {
        return escStCodigo;
    }

    public void setEscStCodigo(String escStCodigo) {
        this.escStCodigo = escStCodigo;
    }

    public String getExaStCodigo() {
        return exaStCodigo;
    }

    public void setExaStCodigo(String exaStCodigo) {
        this.exaStCodigo = exaStCodigo;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public Date getPacDtNascimento() {
        return pacDtNascimento;
    }

    public void setPacDtNascimento(Date pacDtNascimento) {
        this.pacDtNascimento = pacDtNascimento;
    }

    public String getPacStCel() {
        return pacStCel;
    }

    public void setPacStCel(String pacStCel) {
        this.pacStCel = pacStCel;
    }

    public String getPacStCel1() {
        return pacStCel1;
    }

    public void setPacStCel1(String pacStCel1) {
        this.pacStCel1 = pacStCel1;
    }

    public String getPacStCel1DDD() {
        return pacStCel1DDD;
    }

    public void setPacStCel1DDD(String pacStCel1DDD) {
        this.pacStCel1DDD = pacStCel1DDD;
    }

    public String getPacStCelContato() {
        return pacStCelContato;
    }

    public void setPacStCelContato(String pacStCelContato) {
        this.pacStCelContato = pacStCelContato;
    }

    public String getPacStCelDDD() {
        return pacStCelDDD;
    }

    public void setPacStCelDDD(String pacStCelDDD) {
        this.pacStCelDDD = pacStCelDDD;
    }

    public String getPacStCodigo() {
        return pacStCodigo;
    }

    public void setPacStCodigo(String pacStCodigo) {
        this.pacStCodigo = pacStCodigo;
    }

    public String getPacStFone() {
        return pacStFone;
    }

    public void setPacStFone(String pacStFone) {
        this.pacStFone = pacStFone;
    }

    public String getPacStFone1() {
        return pacStFone1;
    }

    public void setPacStFone1(String pacStFone1) {
        this.pacStFone1 = pacStFone1;
    }

    public String getPacStFone1DDD() {
        return pacStFone1DDD;
    }

    public void setPacStFone1DDD(String pacStFone1DDD) {
        this.pacStFone1DDD = pacStFone1DDD;
    }

    public String getPacStFoneContato() {
        return pacStFoneContato;
    }

    public void setPacStFoneContato(String pacStFoneContato) {
        this.pacStFoneContato = pacStFoneContato;
    }

    public String getPacStFoneDDD() {
        return pacStFoneDDD;
    }

    public void setPacStFoneDDD(String pacStFoneDDD) {
        this.pacStFoneDDD = pacStFoneDDD;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public String getProcStTempoPrevisto() {
        return procStTempoPrevisto;
    }

    public void setProcStTempoPrevisto(String procStTempoPrevisto) {
        this.procStTempoPrevisto = procStTempoPrevisto;
    }

    public String getProcStTipoServico() {
        return procStTipoServico;
    }

    public void setProcStTipoServico(String procStTipoServico) {
        this.procStTipoServico = procStTipoServico;
    }

    public Integer getUniInCodigo() {
        return uniInCodigo;
    }

    public void setUniInCodigo(Integer uniInCodigo) {
        this.uniInCodigo = uniInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final AgendaQuimioterapiaProteu other = (AgendaQuimioterapiaProteu) obj;
        if (this.agqInCodigo != other.agqInCodigo && (this.agqInCodigo == null || !this.agqInCodigo.equals(other.agqInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 71 * hash + (this.agqInCodigo != null ? this.agqInCodigo.hashCode() : 0);
        return hash;
    }



}
